<style>
.hide{display:none;}
.sForm .ipt{margin-left:155px;}
.sForm .ipt1{margin-bottom:20px;margin-left:155px;}
.sForm .lab{width:139px;}
.popForm .formitm {padding: 10px 0 0;line-height: 30px;width: 391px;float: left;}
.popForm .formitm ul{float:left;width:650px; margin-left:153px;}
.popForm .formitm ul li{float:left; margin-right:25px;}
</style>
<div class="popForm sForm">
    <form id="form"  method="post">

		<div class="formitm">
			<label class="lab">活动规则ID：</label>
			<div class="ipt">
				${activityRule.id!}
			</div>
		</div>
		<div class="formitm">
			<label class="lab">活动名称：</label>
			<div class="ipt">
				${activityRule.activityName!}
			</div>
		</div>
		<div class="formitm">
			<label class="lab">规则类型：</label>
			<div class="ipt">
				<#if activityRule.type == 1>
					红包
				<#elseif activityRule.type == 2>
					体验券
				<#elseif activityRule.type == 3>
					加息券
				<#elseif activityRule.type == 4>
					抽奖
				<#elseif activityRule.type == 5>
					电影票
				<#elseif activityRule.type == 6>
					现金
				<#elseif activityRule.type == 7>
					酒券
				</#if>
			</div>
		</div>
    	<div class="formitm">
		     <label class="lab">规则名称：</label>
		     <div class="ipt">
		     	${activityRule.ruleName!}
		     </div>
		</div>
		<div class="formitm">
			<label class="lab">是否启用：</label>
			<div class="ipt">
				<#if activityRule.status == 0>
					启用
				<#elseif activityRule.status == 1>
					不启用
				</#if>
			</div>
		</div>

		<div class="formitm" style="clear:both;">
			<label class="lab">开始时间：</label>
			<div class="ipt">
				${activityRule.startTime?string('yyyy-MM-dd hh:mm:ss')!}
			</div>
		</div>
		<div class="formitm">
			<label class="lab">结束时间：</label>
			<div class="ipt">
				${activityRule.endTime?string('yyyy-MM-dd hh:mm:ss')!}
			</div>
		</div>
		<div class="formitm" style="clear: both">
			<label class="lab">修改者：</label>
			<div class="ipt">
				${activityRule.modifierName!}
			</div>
		</div>

		<div class="formitm">
			<label class="lab">修改时间：</label>
			<div class="ipt">
				${activityRule.modifyTime!}
			</div>
		</div>
		<div class="formitm">
			<label class="lab">创建者：</label>
			<div class="ipt">
				${activityRule.creatorName!}
			</div>
		</div>

		<div class="formitm">
			<label class="lab">添加时间：</label>
			<div class="ipt">
				${activityRule.createTime!}
			</div>
		</div>
		<div class="formitm">
			<label class="lab">活动规则描述：</label>
			<div class="ipt">
				${activityRule.description!}
			</div>
		</div>
	</form>
</div>

